Lock
TheLock
method locks this storage unit for exclusive access.
ODStorageUnitKey Lock (in ODStorageUnitKey key);
key
- The previously acquired identifier for a particular clone operation, or the value
kODNULLKey
if the valid storage unit key is unknown.- return value
- The identifier for the locked state of this storage unit.
DISCUSSION
Every thread must acquire the storage unit key for multithreading support.EXCEPTIONS
kODErrInvalidStorageUnitKey
- The specified storage unit key is not valid.
SEE ALSO
TheODStorageUnitKey
type (page 903).
TheODStorageUnit::Unlock
method (page 715).
Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help